home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / Jogos de Azar / 662.swf / scripts / frame_11 / DoAction.as
Text File  |  2006-01-17  |  632b  |  36 lines

  1. if(getProperty("underside", _Y) - anchor_y * 5 >= getProperty("move_bg", _Y) && num == 2)
  2. {
  3.    num += 1;
  4.    if(num % 2 == 1 && num != 1)
  5.    {
  6.       add_card += 1;
  7.    }
  8.    gotoAndPlay(10);
  9. }
  10. if(getProperty("underside", _Y) - anchor_y * 5 >= getProperty("squeezer" + num, _Y))
  11. {
  12.    num += 1;
  13.    if(num % 2 == 1 && num != 1)
  14.    {
  15.       add_card += 1;
  16.    }
  17.    if(need == 1)
  18.    {
  19.       num += 1;
  20.       add_card += 1;
  21.       gotoAndPlay(13);
  22.    }
  23.    else if(need == 2)
  24.    {
  25.       gotoAndPlay(17);
  26.    }
  27.    else if(add_card == 2)
  28.    {
  29.       gotoAndPlay(13);
  30.    }
  31.    else
  32.    {
  33.       gotoAndPlay(10);
  34.    }
  35. }
  36.